<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>SublimeText的常用插件及问题 | It is Home</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="SublimeText的常用插件一、MarkDown相关插件
OmniMarkupPreviewer markdowm浏览器实时预览插件
参考文章 近乎完美的Markdown 写作体验


IMESupport 解决ST输入中文光标失焦问题

二、ST的codesnippet功能关于snippet的编写有如下两个参考网站：Sublime Text Snippets(代码片段功能)简书：手把手教你写">
<meta property="og:type" content="article">
<meta property="og:title" content="SublimeText的常用插件及问题">
<meta property="og:url" content="http://tanhanjay.oschina.io/2017/02/02/SublimeText的常用插件及问题/index.html">
<meta property="og:site_name" content="It is Home">
<meta property="og:description" content="SublimeText的常用插件一、MarkDown相关插件
OmniMarkupPreviewer markdowm浏览器实时预览插件
参考文章 近乎完美的Markdown 写作体验


IMESupport 解决ST输入中文光标失焦问题

二、ST的codesnippet功能关于snippet的编写有如下两个参考网站：Sublime Text Snippets(代码片段功能)简书：手把手教你写">
<meta property="og:updated_time" content="2017-02-02T08:43:09.004Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="SublimeText的常用插件及问题">
<meta name="twitter:description" content="SublimeText的常用插件一、MarkDown相关插件
OmniMarkupPreviewer markdowm浏览器实时预览插件
参考文章 近乎完美的Markdown 写作体验


IMESupport 解决ST输入中文光标失焦问题

二、ST的codesnippet功能关于snippet的编写有如下两个参考网站：Sublime Text Snippets(代码片段功能)简书：手把手教你写">
  
    <link rel="alternate" href="/atom.xml" title="It is Home" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link rel="stylesheet" href="/css/style.css">
  

</head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">It is Home</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">Welcome to my blog!</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="搜索"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://tanhanjay.oschina.io"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main"><article id="post-SublimeText的常用插件及问题" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/02/02/SublimeText的常用插件及问题/" class="article-date">
  <time datetime="2017-02-01T16:00:00.000Z" itemprop="datePublished">2017-02-02</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/开发/">开发</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      SublimeText的常用插件及问题
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h1 id="SublimeText的常用插件"><a href="#SublimeText的常用插件" class="headerlink" title="SublimeText的常用插件"></a>SublimeText的常用插件</h1><h2 id="一、MarkDown相关插件"><a href="#一、MarkDown相关插件" class="headerlink" title="一、MarkDown相关插件"></a>一、MarkDown相关插件</h2><ul>
<li>OmniMarkupPreviewer markdowm浏览器实时预览插件<blockquote>
<p>参考文章 <a href="http://blog.leanote.com/post/54bfa17b8404f03097000000" target="_blank" rel="external">近乎完美的Markdown 写作体验</a></p>
</blockquote>
</li>
<li>IMESupport 解决ST输入中文光标失焦问题</li>
</ul>
<h2 id="二、ST的codesnippet功能"><a href="#二、ST的codesnippet功能" class="headerlink" title="二、ST的codesnippet功能"></a>二、ST的codesnippet功能</h2><p>关于snippet的编写有如下两个参考网站：<br><a href="http://www.bluesdream.com/blog/sublime-text-snippets-function.html" target="_blank" rel="external">Sublime Text Snippets(代码片段功能)</a><br><a href="http://www.jianshu.com/p/356bd7b2ea8e" target="_blank" rel="external">简书：手把手教你写Sublime中的Snippet</a>  </p>
<h3 id="snippets的scope名称列表"><a href="#snippets的scope名称列表" class="headerlink" title="snippets的scope名称列表"></a>snippets的scope名称列表</h3><table>
<thead>
<tr>
<th>language</th>
<th>scope</th>
</tr>
</thead>
<tbody>
<tr>
<td>html</td>
<td>text.html.basic</td>
</tr>
<tr>
<td>java</td>
<td>source.java</td>
</tr>
<tr>
<td>javascript</td>
<td>source.js</td>
</tr>
<tr>
<td>json</td>
<td>source.json</td>
</tr>
<tr>
<td>markdown</td>
<td>text.html.markdown</td>
</tr>
<tr>
<td>ActionScript</td>
<td>source.actionscript.2</td>
</tr>
<tr>
<td>ActionScript</td>
<td>source.actionscript.3</td>
</tr>
<tr>
<td>Ant</td>
<td>text.xml.ant</td>
</tr>
<tr>
<td>AppleScript</td>
<td>source.applescript</td>
</tr>
<tr>
<td>ASP</td>
<td>source.asp</td>
</tr>
<tr>
<td>Batch File</td>
<td>source.dosbatch</td>
</tr>
<tr>
<td>Bibtex</td>
<td>text.bibtex</td>
</tr>
<tr>
<td>C</td>
<td>source.c</td>
</tr>
<tr>
<td>C#</td>
<td>source.cs</td>
</tr>
<tr>
<td>C++</td>
<td>source.c++</td>
</tr>
<tr>
<td>camlp4</td>
<td>source.camlp5.ocaml</td>
</tr>
<tr>
<td>Clojure</td>
<td>source.clojure</td>
</tr>
<tr>
<td>CoffeeScript</td>
<td>source.coffee</td>
</tr>
<tr>
<td>CSS</td>
<td>source.css</td>
</tr>
<tr>
<td>D</td>
<td>source.d</td>
</tr>
<tr>
<td>Diff</td>
<td>source.diff</td>
</tr>
<tr>
<td>DOT</td>
<td>source.dot</td>
</tr>
<tr>
<td>Emmet</td>
<td>source.zen.5a454e6772616d6d6172</td>
</tr>
<tr>
<td>Erlang</td>
<td>source.erlang</td>
</tr>
<tr>
<td>Go</td>
<td>source.go</td>
</tr>
<tr>
<td>Groovy</td>
<td>source.groovy</td>
</tr>
<tr>
<td>Haskell</td>
<td>source.haskell</td>
</tr>
<tr>
<td>Hex</td>
<td>source.hex</td>
</tr>
<tr>
<td>Java Server Pages(JSP)</td>
<td>text.html.javadoc</td>
</tr>
<tr>
<td>jQuery</td>
<td>source.js.jquery</td>
</tr>
<tr>
<td>LaTeX</td>
<td>text.tex.latex</td>
</tr>
<tr>
<td>Matlab</td>
<td>source.matlab</td>
</tr>
<tr>
<td>MultiMarkdown</td>
<td>text.html.markdown.multimarkdown</td>
</tr>
<tr>
<td>Objective-C</td>
<td>source.objc</td>
</tr>
<tr>
<td>Objective-C++</td>
<td>source.objc++</td>
</tr>
<tr>
<td>PHP</td>
<td>source.php</td>
</tr>
<tr>
<td>Plain Text</td>
<td>text.plain</td>
</tr>
<tr>
<td>Python</td>
<td>source.python</td>
</tr>
</tbody>
</table>
<h2 id="三、win下ST配置C-C-开发环境"><a href="#三、win下ST配置C-C-开发环境" class="headerlink" title="三、win下ST配置C/C++开发环境"></a>三、win下ST配置C/C++开发环境</h2><ul>
<li>首先要在win上安装 MinGW <a href="https://pan.baidu.com/s/1skCCkDv" target="_blank" rel="external">https://pan.baidu.com/s/1skCCkDv</a>解压至指定的文件夹（最好不含中文）即可，配置系统变量Path，加入MinGW所在的目录，重新启动电脑</li>
<li>打开cmd命令行，输入g++ -v 能看到版本号，说明配置成功了。</li>
<li>配置好MinGW之后，sublimetext的tools-&gt;Build (快捷键Ctrl+B) 就可以直接编译C或CPP文件了</li>
<li>sublimetext中安装C++ Snippets C++智能提示</li>
<li>ST中安装CTags<br>  CTags是一个古老的插件，能够实现函数导航和跳转功能，在ST中使用它分为三步：<br>首先从ctags的sourceforge官网上下载安装包，解压到一个目录后，将目录添加到Windows的环境变量中。<br>在ST中Ctrl+Shift+P，通过Package Control安装CTags插件。<br>在项目根目录上右键，能看到多出一个CTags: Rebuild Tags菜单。执行后就可以在我们的项目中自由的跳转了！<br>注意：Rebuild Tags后会在根目录下产生.tags和.tags_sorted_by_file两个索引文件。可以在Preferences-&gt;Settings-User中添加配置使其隐藏：<br>“file_exclude_patterns”: [“.tags”, “.tags_sorted_by_file”]<br>现在就大功告成了！一个简洁快速、外观酷炫的Sublime Text可以使用了！</li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://tanhanjay.oschina.io/2017/02/02/SublimeText的常用插件及问题/" data-id="cj26ay9ls0003mwxailxd9z7i" class="article-share-link">Share</a>
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2017/03/31/angular学习笔记/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          angular学习笔记
        
      </div>
    </a>
  
  
    <a href="/2017/02/01/中南OJ题记录/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">中南OJ题记录</div>
    </a>
  
</nav>

  
</article>

</section>
        
          <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">分类</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/开发/">开发</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/考研/">考研</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签</h3>
    <div class="widget">
      <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/考研/">考研</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签云</h3>
    <div class="widget tagcloud">
      <a href="/tags/考研/" style="font-size: 10px;">考研</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/">一月 2017</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">最新文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2017/03/31/angular学习笔记/">angular学习笔记</a>
          </li>
        
          <li>
            <a href="/2017/02/02/SublimeText的常用插件及问题/">SublimeText的常用插件及问题</a>
          </li>
        
          <li>
            <a href="/2017/02/01/中南OJ题记录/">中南OJ题记录</a>
          </li>
        
          <li>
            <a href="/2017/01/26/sublimetext开发技巧/">sublimetext开发技巧</a>
          </li>
        
          <li>
            <a href="/2017/01/24/Ionic2配置过程/">Ionic2配置过程</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2017 tanhanjay<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/script.js"></script>

  </div>
</body>
</html>